package com.operate.api.app.balance.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
public class AppBalanceVO implements Serializable {
    private static final long serialVersionUID = -1L;
    @ApiModelProperty(value = "ID")
    private String id;
    @ApiModelProperty(value = "关联订单ID")
    private String orderId;
    @ApiModelProperty(name = "订单描述")
    private String orderDesc;
    @ApiModelProperty(name = "订单类型 1 充值 2 消费")
    private Integer orderType;
    @ApiModelProperty(name = "订单X豆数量")
    private BigDecimal orderNum;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;
}
